package com.luckynote.common;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication
@ImportResource(locations={"classpath:applicationContext.xml"})
//@EnableEurekaClient
public class LuckyNoteHttpProvider {
	public static void main(String[] args) {
		new SpringApplicationBuilder()
        .sources(LuckyNoteHttpProvider.class)
        .web(WebApplicationType.SERVLET)
        .run(args);
	}

}
